|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.runtime.Component
org.eclipse.vtp.framework.engine.runtime.Configurable
org.eclipse.vtp.framework.engine.runtime.Service
public class Service
Represents a service available to actions and observers.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.vtp.framework.engine.runtime.Component |
|---|
blueprint, constructors, mutators |
| Constructor Summary | |
|---|---|
Service(Blueprint blueprint,
org.w3c.dom.Element[] configurations,
ServiceDescriptor descriptor)
Creates a new Service. |
|
| Method Summary | |
|---|---|
protected IContext |
createServiceRegistry(Scope scope)
Creates a service registry for the specified scope. |
protected java.lang.Class |
getComponentType()
|
java.lang.String |
getDescriptorID()
Returns the ID of the descriptor this service is based on. |
java.util.Set |
getIdentifiers()
Returns the identifiers of this service. |
java.lang.Object |
getInstance(Scope scope)
|
protected java.lang.Object[] |
lookupAllSiblingServices(java.lang.String identifier,
Scope scope)
Looks up all services with the specified identifier in the supplied scope or null if said identifier is also present on this service
or no such service exists. |
protected java.lang.Object |
lookupSiblingService(java.lang.String identifier,
Scope scope)
Looks up a service with the specified identifier in the supplied scope or null if said identifier is also present on this service or
no such service exists. |
| Methods inherited from class org.eclipse.vtp.framework.engine.runtime.Configurable |
|---|
createBuilder, lookupAllConfigurations, lookupConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Service(Blueprint blueprint,
org.w3c.dom.Element[] configurations,
ServiceDescriptor descriptor)
throws java.lang.NullPointerException
blueprint - The blueprint of the process.elements - The configuration data or null for no
configuration data.descriptor -
java.lang.NullPointerException - If the supplied blueprint is null.
java.lang.NullPointerException - If the supplied descriptor is
null.| Method Detail |
|---|
public java.lang.String getDescriptorID()
public java.util.Set getIdentifiers()
protected java.lang.Object lookupSiblingService(java.lang.String identifier,
Scope scope)
null if said identifier is also present on this service or
no such service exists.
identifier - The identifier of the service to look up.scope - The scope to search for a sibling service in.
null if said identifier is also present on this
service or no such service exists.
protected java.lang.Object[] lookupAllSiblingServices(java.lang.String identifier,
Scope scope)
null if said identifier is also present on this service
or no such service exists.
identifier - The identifier of the services to look up.scope - The scope to search for sibling services in.
null if said identifier is also present on this
service or no such service exists.protected java.lang.Class getComponentType()
protected IContext createServiceRegistry(Scope scope)
Configurable
createServiceRegistry in class Configurablescope - The scope to create the registry for.
public java.lang.Object getInstance(Scope scope)
throws java.lang.IllegalStateException,
java.lang.NullPointerException
java.lang.IllegalStateException
java.lang.NullPointerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||